<?php echo validation_errors();?>
<?php echo form_open("catalog/Catalog_Controller/update");?>

<input type="hidden" name="id" id="id" value="<?php echo set_value('id', $id);?>"/>
<input type="hidden" name="action" id="action" value="save"/>
<?php echo anchor(base_url(),"Home");?>
<table>
  <tr>
    <td><label for="catalog_name">Catalog</label></td>
    <td><input type="text" name="catalog_name" id="catalog_name" value="<?php echo set_value('catalog_name', $catalog_name);?>"/></td>
  </tr>
  <tr>
    <td><label for="sort_id">Sort id</label></td>
    <td><input type="text" name="sort_id" id="sort_id" value="<?php echo set_value('sort_id', $sort_id);?>"/></td>
  </tr>
  <tr>
  	<td><p><input type="submit" value="Update"/></td>
  	<td></td>
  </tr>
</table>
<?php echo form_close();?>
